/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is.interfaces;

import is.model.exceptions.EmptyValueException;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author aspr0
 */
public interface Table<Datatype>
{
    public String getDatatypeName();

    public void setBeans(List<Datatype> beans);

    public void setInitialBean(Datatype initialBean);

    public void setHasSearched(Boolean hasSearched);

    public Integer getOrderBy();

    public void setOrderBy(String orderByParam);

    public String genTable() throws EmptyValueException, SQLException;
}
